const zh_cn = {
    name: 'zh-cn',
    blocklyMessage: {
      MICROBIT_LOOP:'micro:bit 无限循环',
      MICROBIT_MICROBITEVENTS:'事件',
      DISPLAYSHOW:'显示屏显示字符串',
      DISPLAYCLEARE: '清空显示屏',
      DISPLAYNUMBER:'显示数字',
      DISPLAYPICTURE:"显示图像",
      SUSPEND:'暂停',
      MILLISECOND:'毫秒(ms)',
      SHOWARROW:'显示箭头',
      NORTH:'北',
      NORTHEAST:'东北',
      EAST:'东',
      SOUTHEAST:'东南',
      SOUTH:'南',
      SOUTHWEST:'西南',
      WEST:'西',
      NORTHWEST:"西南",
      LOOP:'无限循环',
      CLEAR:'点阵屏清屏',
      KEY:'当按键',
      CURRENTMOTHERBOARD:'当主板姿态',
      SHOCK:'摇一摇',
      LOGOUP:'徽标朝上',
      LOGODOWN:'徽标朝下',
      SCREENUP:'屏幕朝上',
      SCREENDOWN:'屏幕朝下',
      RIGHTTILT:'向右倾斜',
      LEFTTILT:'向左倾斜',
      FREEFALL:'自由落体',
      ISPRESSED:'被接通',
      WHENPIN:'当引脚',
      ACCELERATEDSPEED:'获取加速度(mg)',
      BRIGHTNESSLEVEL:'亮度级别',
      TEMPERATURE:'获取温度(℃)',
      POINTERFACING:'读取指针朝向(°)',
      ROTATE:'旋转(°)',
      ROTATE1:'旋转',
      ROLL:'横滚',
      MAGNETICFORCE:'获取磁力（μT）',
      STRENGTH:'强度',
      CALIBRATECOMPASS:'校准指南针',
      ISRELEASED:'被释放时',
      PLAYTONE:'播放音调',
      LOWC:'低C',   
      LOWD:'低D',   
      LOWE:'低E',   
      LOWF:'低F',   
      LOWG:'低G',   
      LOWA:'低A',   
      LOWB:'低B',   
      MIDDLEC:'中C',
      MIDDLED:'中D',
      MIDDLEE:'中E',
      MIDDLEF:'中F',
      MIDDLEG:'中G',
      MIDDLEA:'中A',
      MIDDLEB:'中B',
      HIGHC:'高C',  
      HIGHD:'高D',  
      HIGHE:'高E',  
      HIGHF:'高F',  
      HIGHG:'高G',  
      HIGHA:'高A',  
      HIGHB:'高B',  
      CONTINUED:'持续',
      RHYTHM:'节拍',
      PLAYRINGTONE:"播放铃声（Hz）",
      PAUSEPLAYBACK:"暂停播放（ms）",
      PLAYMELODY:"播放旋律",
      REPEAT:"重复",
      PLAYONCE:'播放一次',
      INFINITECYCLE:'无限循环',
      STOPMELODY:'停止接口',
      CHANGERHYTHM:"将节奏更改为（bpm）",
      SETRHYTHM:"将节奏设定为（bpm）",
      RUNTIME:'运行时间',
      DRAW:"绘图",
      XAXIS:"X轴",
      YAXIS:"Y轴",
      CANCELDRAW:"取消绘图",
      SWITCH:'闪烁',
      POINT:'点',
      DRAWBARCHART:'绘制条形图',
      MAX:'最高',
      DRAW:'绘图',
      ISLIGHT:'是否被点亮?',
      BRIGHTNESS:'亮度(0~9)',
      SETBRIGHTNESS:'设置亮度',
      STOPANIMATION:'停止动画',
      WIRELESSSETTINGSGROUP:'无线设置组',
      WIRELESSDIGITAL:'无线发送数字',
      WIRELESSTRANSMISSIONVALUE:'无线发送值',
      WIRELESSSENDSTRING:'无线发送字符串',
      DATARECEIVEDWIRELESSLY:'无线接收到的数据',
      RECEIVEDWIRELESSLY:'在无线接收到数据时运行',
      RECEIVEDSTRINGWIRELESSLY:'在无线接收到字符串数据时运行',
      RECEIVEDKEYVALUEWIRELESSLY:'在无线接收到key-value数据时运行',
      PACKETSRECEIVED:'接收到的数据包',
      TIME:'时间',
      WIRELESSSETTRANSMITPOWER:'无线设置发射功率',
      AND:'与',
      REMAINDER:'的余数',
      IN:'中的',
      MIN:'最小',
      MAX1:'最大',
      ABS:'绝对值',
      RANDOM:'选取随机数',
      RANGE:'范围',
      RANDOMBOOLEAN:'随机选取布尔值',
      ARRAY:'数组',
      LENGTH:'长度',
      STRLENGTH:'长度为',
      GETINDEX:'获取索引',
      VALUE:'值',
      ENTERVALUE:'您想输入的文本值',
      INDEX:'索引',
      VALUESET:'的值设置为',
      ADDTOEND:'添加到结尾',
      LASTVALUE:'中的最后一个值',
      GETANDREMOVE:'获取并移除',
      FIND:'查找',
      STARTVALUE:'中的第一个值',
      INSERTATBEGIN:'在开头插入',
      STAY:'在',
      INSERTVALUE:'插入值',
      REMOVE:'移除',
      COMPARE:'比较两个字符串是否相等(相等返回值为0)',
      GET:'获取',
      STRING:'的子字符串',
      STARTPOSITION:'起始位置',
      ISEMPTY:'字符串为空',
      JUDGE:'判断',
      FROM:'从',
      EXTRACTCHARACTERPOSITON:'中提取字符 位置',
      EXTRACTCHARACTERCODE:'提取字符代码',
      TEXT:'中的文本',
      CREATEIMAGE:'创建图像',
      UP:'向上',
      DOWN:'向下',
      LEFT:'向左',
      RIGHT:'向右',
      DEVIATION:'偏移',
      SCROLLIMAGE:'滚动图像',
      OFFSETTO:'偏移为',
      INTERVAL:'间隔为（ms）',
      ARROWIMAGE:'箭头图像',
      DIGITALREADPIN:'数字读取引脚',
      DIRECTIONPIN:'向 引脚',
      DIGITALWRITEPIN:'数字写入值',
      ANALOGWRITEPIN:'模拟写入',
      ANALOGREADPIN:'模拟读取 引脚',
      MAPPING:'映射',
      FROMLOW:'从低',
      FROMHIGH:'从高',
      TOLOW:'至低',
      TOHIGH:'至高',
      TOSERVOPIN:'向伺服机构 引脚',
      WRITE:'写入角度',
      PULSESET:'脉冲设置为（ms）',
      PULSE:'脉冲为',
      HIGH:'高',
      LOW:'低',
      PULSEDURATION:'脉冲持续时间（μs）',
      PULSEDURATIONPIN:'脉冲持续时间（μs）引脚',
      SPIWRITE:'spi 写入',
      SETPORT:'设置引脚',
      SPIFREQUENCY:'Spi初始化 频率',
      SETANALOGSCALEPIN:'模拟设置音阶引脚',
      SPIFORMATDIGITS:'spi初始化 格式 位数',
      MODEL:'模式',
      FREQUENCY:'频率',
      DURATION:'持续时间',
      MICROBIT_MUSIC:'音乐',
      SPISETPINMOSI:'spi初始化 设置引脚 MOSI',
      SERIALPRINTINGSTRING:'串口打印字符串',
      WRITELINETOSERIAL:'向串口写入一行',
      WRITENUMBERTOSERIAL:'串口写入数字',
      WRITEVALUETOSERIAL:'串口写入数值',
      WRITESTRINGTOSERIAL:'串口写入字符串',
      SERIALREADLINE:'从串口读取行',
      SERIALREADLINEUNTIL:'从串口读取行，直至遇到',
      READSTRINGTOSERIAL:'串口写入字符串',
      SERIALREDIRECTION:'串行 重定向到',
      TX:'TX',
      RX:'RX',
      BAUDRATE:"波特率",
      SERIALREDIRECTIONUSB:'串行 重定向到USB',
      RESET:'重置',
      WAIT:'等待(us)',
      WHENON:'当开机时',
      MICROBIT_CONTROL:'控制',
      MICROBIT_OPERATORS:'运算',
      MICROBIT_VARIABLES:'变量',
      MICROBIT_TEXT:'文本',
      MICROBIT_SERIAL:'串口',
      MICROBIT_ARRAYLIST:'数组',
      MICROBIT_PIN:'引脚',
      MICROBIT_MAINSTART:'micro:bit当开机时',
      MICROBIT_WHENBUTTON:'当按钮',
      MICROBIT_ISBUTTONEVENT:'被按下时',
      MICROBIT_BASEFUNC:'板载传感器',
      PARSETONUMBER:'字符串转数字',
      NUMBER:'数字',
      TOTEXT:'转字符串',
      MICROBIT_DISPLAY:'点阵屏',
      PLAYMELODYPIN:'接口 ',
      STOPMUSIC:'播放的音乐',
      MICROBIT_WIFI:'无线通信',
      OPEN:'打开',
      CLOSE:'关闭',




      


    MICROBIT_RELAYSMODEL:'继电器模块',
    MICROBIT_SHOW:'显示器',
    MICROBIT_ACTION:'执行器',
    MICROBIT_SENSORS:'传感器',
    MICROBIT_CONTROL:'控制',
    MICROBIT_OPERATORS:'运算',
    MICROBIT_VARIABLES:'变量',
    MICROBIT_EDITTEXT:'文本',
    MICROBIT_IMAGES:'图像',
    MICROBIT_SERIAL:'串口',
    MICROBIT_PIN:'引脚',
    MICROBIT_DISPLAY:'显示',
    MICROBIT_ARRAYLISTS:'数组',
    MICROBIT_BUTTONMODEL:'引脚',
    MICROBIT_ISBUTTON:'按键被按下?',
    MICROBIT_TOUCH:'触摸模块初始化接口',
    MICROBIT_ISTOUCH:'检测到触摸?',
    MICROBIT_KNOCKSWITCH:'碰撞开关模块初始化接口',
    MICROBIT_READKNOCKSWITCH:'检测到碰撞？',
    MICROBIT_RESISTANCE:'旋转电位器模块初始化  接口',
    MICROBIT_QUESTIONMARK:'?',
    MICROBIT_ENCODERINIT:'旋转编码器模块初始化参数 编码器A引脚',
    MICROBIT_ENCODERBPORTINIT:'编码器B引脚',
    MICROBIT_ENCODERDPORTINIT:'编码器按键引脚(D)',
    MICROBIT_ENCODERBUTTON:'旋转编码器按钮',
    MICROBIT_ENCODERBUTTONISPRESSED:'按键被按下?',
    MICROBIT_READENCODE:'读取旋转编码器',
    MICROBIT_PINA:'引脚A',
    MICROBIT_PINB:'引脚B',
    MICROBIT_ENCODERPULSE:'的编码值',

    MICROBIT_READRESISTANCE:'读取旋转电位计的值',
    MICROBIT_PIANO:'钢琴模块初始化接口参数 CLK',
    MICROBIT_DIO:'DIO',
    MICROBIT_PIANOPRESS:'钢琴键按下',
    MICROBIT_SLIPRESISTANCE:'滑动电阻器接口',
    MICROBIT_READSLIPRESISTANCE:'获取滑动变阻器滑块的位置(0~100)',
    MICROBIT_ROCK:'摇杆模块初始化接口参数',
    MICROBIT_BUTTON:'按钮',
    MICROBIT_READROCK:'读取摇杆',
    MICROBIT_ROCKXAXIS:'X轴',
    MICROBIT_ROCKYAXIS:'Y轴',
    MICROBIT_ROCKBUTTON:'按钮',
    MICROBIT_ROCKVALUE:'方向的模拟值',
    MICROBIT_LED:'LED灯接口',
    MICROBIT_OPEN:'开',
    MICROBIT_CLOSE:'关',
    MICROBIT_LCDINIT_ADDRESS:'I2C Lcd1602初始化地址',
    MICROBIT_TM1650OPEN:'点亮',
    MICROBIT_TM1650CLOSE:'熄灭',
    MICROBIT_TM1650:'四位数码管TM1650 IIC接口初始化 设置亮度为',
    MICROBIT_TM1650DISPLAY:'TM1650数码管',
    MICROBIT_TM1650FIRST:'第一位',
    MICROBIT_TM1650SECOND:'第二位',
    MICROBIT_TM1650THIRD:'第三位',
    MICROBIT_TM1650FORTH:'第四位',
    MICROBIT_TM1650DISPLAYDATA:'展示数据(0~15)',
    MICROBIT_TM1650DISPLAYPOINT:'是否展示小数点',
    MICROBIT_TM1650CLEAR:'TM1650清屏',
    MICROBIT_TM1637:'四位数码管TM1637 接口初始化 CLK',
    MICROBIT_TM1637DISPLAY:'TM1637数码管',
    MICROBIT_TM1637FIRST:'第一位',
    MICROBIT_TM1637SECOND:'第二位',
    MICROBIT_TM1637THIRD:'第三位',
    MICROBIT_TM1637FORTH:'第四位',
    MICROBIT_TM1637ALL:'全部',
    MICROBIT_TM1637DISPLAYDATA:'展示数据(0~15)',
    MICROBIT_TM1637DISPLAYPOINT:'展示时间点',
    MICROBIT_TM1637INTENSITY:'设置亮度',
    MICROBIT_TM1637SHOWNUMBER:'TM1637显示数字(max 9999)',
    MICROBIT_TM1637CLEAR:'TM1637清除',
    MICROBIT_TRAFFICLIGHTSINIT:'交通红绿灯接口初始化',
    MICROBIT_TRIFFICLIGHTSRED:' 红灯',
    MICROBIT_TRIFFICLIGHTSGREEN:'绿灯',
    MICROBIT_TRIFFICLIGHTSYELLOW:'黄灯',
    MICROBIT_RGBINIT:'RGB模块接口初始化',
    MICROBIT_RGBRED:' 红灯',
    MICROBIT_RGBGREEN:'绿灯',
    MICROBIT_RGBBLUE:'蓝灯',
    MICROBIT_BRIGHT:'亮',
    MICROBIT_EXTINCT:'灭',
    MICROBIT_SHOWTIME:'显示时间(ms)',
    MICROBIT_RGBR:'R值',
    MICROBIT_RGBG:'G值',
    MICROBIT_RGBB:'B值',
    MICROBIT_MOTOR:'直流电机接口 INA',
    MICROBIT_MOTORINB:' INB',
    MICROBIT_SERVO:'舵机 引脚',
    MICROBIT_SERVOANGLE:'转动角度',
    MICROBIT_DIRECTION:'方向',
    MICROBIT_SPEED:'速度(0~100)',
    MICROBIT_FORWARD:'正转',
    MICROBIT_REVERSE:'反转',
    MICROBIT_PASSIVEBUZZER:'无源蜂鸣器接口',
    MICROBIT_PLAYMELODY:'播放旋律',
    MICROBIT_BUZZER:'有源蜂鸣器接口',
    MICROBIT_RELAY:'继电器模块接口',
    MICROBIT_OPEN:'开',
    MICROBIT_CLOSE:'关',
    MICROBIT_LASER:'激光发射模块接口',
    MICROBIT_VIOCE:'声音传感器引脚 ',
    MICROBIT_VIOCEANALOG:'读取声音的强度(模拟值)',
    MICROBIT_VIOCEDIGITAL:'检测到声音(数字值)?',

    MICROBIT_GAS:'MQ4气体传感器引脚 ',
    MICROBIT_GASANALOG:'读取气体的浓度(模拟值)',
    MICROBIT_GASDIGITAL:'检测到气体(数字值)?',

    MICROBIT_RAINANALOG:'读取雨滴的模拟值',
    MICROBIT_RAINDIGITAL:'检测到雨滴(数字值)?',

    MICROBIT_READVIOCE:'读取声音的',
    MICROBIT_DIGITAL:'数字值',
    MICROBIT_SOUNDDIGITAL:'',
    MICROBIT_ANALOG:'模拟值',
    MICROBIT_DIGITALPORT:'D(数字引脚)',
    MICROBIT_ANALOGPORT:'A(模拟引脚)',
    MICROBIT_LIGHT:'光敏传感器引脚',
    MICROBIT_READLIGHT:'读取光线亮度的模拟值',
    MICROBIT_THERMOSENSITIVE:'热敏传感器引脚',
    MICROBIT_THERMOSENSITIVEANALOG:'读取热度模拟值',
    MICROBIT_SOILANALOG:'读取土壤湿度的模拟值',
    MICROBIT_WATERDEEPANALOG:'读取水的深度模拟值',
    MICROBIT_GRAYSCALEANALOG:'读取颜色深浅模拟值',
    MICROBIT_SHOCKVALUE:'读取震动的',
    MICROBIT_GETRAIN:'读取雨滴的',
    MICROBIT_FIREVALUE:'读取火焰的',
    MICROBIT_FIRE:'火焰传感器 引脚',
    MICROBIT_FIREDIGITAL:'检测到火焰(数字值)?',
    MICROBIT_FIREANALOG:'读取火焰的模拟值',
    MICROBIT_TEMPERATURE:'温度',
    MICROBIT_HUMIDITY:'湿度',
    MICROBIT_SOIL:'土壤湿度传感器 引脚',
    MICROBIT_DHT11:'DHT11温湿度传感器初始化 引脚',
    MICROBIT_DHT11GET:'获取',
    MICROBIT_RAIN:'雨滴传感器 引脚',


    MICROBIT_WATERDEEP:'水深传感器接口',
    MICROBIT_READWATERDEEP:'读值',
    MICROBIT_BODY:'人体热释电传感器 引脚',
    MICROBIT_READBODY:'检测到人体信号？',    
    MICROBIT_TRACK:'红外循迹传感器 引脚',
    MICROBIT_READTRACK:'检测到黑线？',
    MICROBIT_REEDSWITCH:'磁簧开关传感器 引脚',
    MICROBIT_ISREED:'检测到磁场?',
    MICROBIT_GRAYSCALE:'灰度传感器初始化',
    MICROBIT_TILT:'倾斜传感器 引脚',
    MICROBIT_ISTILT:'检测到倾斜?',
    MICROBIT_SHOCK:'震动传感器 引脚',
    MICROBIT_SHOCKANALOG:'读取震动大小的模拟值',
    MICROBIT_SHOCKDIGITAL:'检测到震动(数字值)?',

    MICROBIT_ULTRASONICPIN:'RGB超声波接口初始化',
    MICROBIT_IOPORT:'IO端口',
    MICROBIT_RGBPORT:'RGB端口',
    MICROBIT_RGBSMG:'RGB模块',
    MICROBIT_RGBULTRASONICDISTANCE:'RGB超声波模块获取的距离',
    MICROBIT_RGBULTRASONICCOLOR:'RGB超声波模块设置 ',
    MICROBIT_RGBULTRASONICLeft:'左灯亮',
    MICROBIT_RGBULTRASONICRight:'右灯亮',
    MICROBIT_RGBULTRASONICTwo:'两灯都亮',
    MICROBIT_RGBULTRASONICSPECIAL:'特效',
    MICROBIT_RGBBREATHING:'呼吸',
    MICROBIT_RGBROTATE:'旋转',
    MICROBIT_RGBFLICKER:'闪烁',
    MICROBIT_BRIGHTNESS:'RGB 亮度(0~100)',
    
    MICROBIT_ULTRASONICPININIT:'普通超声波接口初始化',
    MICROBIT_TRIGPORT:'Trig 端口',
    MICROBIT_ECHOPORT:'Echo 端口',
    MICROBIT_ULTRASONICDISTANCE:'普通超声波模块获取的距离',

    MICROBIT_RELAYCLOSE:'闭合',
    MICROBIT_RELAYOPEN:'释放',
    MICROBIT_LCDPRINT:'LCD1602 清屏',
    MICROBIT_LCDSCREEN:'LCD1602 显示屏',
    MICROBIT_LCDON:'打开',
    MICROBIT_LCDOFF:'关闭',
    MICROBIT_LCDBACKLIGHT:'LCD1602 背光',
    MICROBIT_LCDSHIFT:'LCD1602 字幕状态',
    MICROBIT_LCDLEFT:'左移',
    MICROBIT_LCDRIGHT:'右移',
    MICROBIT_COL:'列(Y)',
    MICROBIT_ROW:'行(X)',
    MICROBIT_LCDSHOWROW:'LCD1602 在坐标',
    MICROBIT_LCDSHOW:'显示',
    MICROBIT_TM1650CLOSE:'关闭',
    MICROBIT_TM1650SHOWNUMBER:'TM1650显示数字(max 9999)',
    MICROBIT_TM1650POINTDISPLAY:'TM1650数码管小数点',
    MICROBIT_DIN:'din',
    MICROBIT_CS:'cs',
    MICROBIT_CLK:'clk',
    MICROBIT_MATRIX7219:'8x8点阵初始化',
    MICROBIT_MATRIX7219SETPIXEL:'点阵 点坐标 ',
    MICROBIT_MATRIX7219X:'X(0~7)',
    MICROBIT_MATRIX7219Y:'Y(0~7)',
    MICROBIT_MATRIX7219INTENSITY:'显示亮度(0~15)',
    MICROBIT_MATRIX7219DRAM:'自定义点阵图像  ',
    MICROBIT_MAXTIXKEYPAD:'矩阵键盘模块接口 CLK',
    MICROBIT_MAXTIXKEYPADPRESS:'矩阵键盘按下',
    MICROBIT_MAXTIXKEYPADGETVALUE:'获取矩阵键盘按下的值',
    MICROBIT_GETPIANOKEY:'获取触摸钢琴触摸的值',
    MICROBIT_READROCKDATA:'摇杆模块的按键被按下?',
    MICROBIT_STATUS:'状态',
    MICROBIT_IR:'红外接收模块初始化接口参数',
    MICROBIT_IRRECEIVERDATA:'接收emakefun遥控器按下的数据是否为',
    MICROBIT_IRLOGICVALUE:'红外模块接收的物理值',
    MICROBIT_AVOIDANCE:'避障传感器 引脚',
    // MICROBIT_AVOIDANCEANALOG:'读取离障碍物的距离的模拟值',
    MICROBIT_AVOIDANCEDIGITAL:'检测到障碍物(数字值)?',

    MICROBIT_DISPLAYCOLOR:'显示颜色',
    TRANSFERINT:'Float型转成整型',
    MICROBIT_LM35:'引脚读取LM35温度传感器获取的温度',
  }
}

const en = {
    name: 'en',
    blocklyMessage: {
      MICROBIT_STATUS:'Status',
      OPEN:'Open',
      CLOSE:'Close',
      MICROBIT_WIFI:'WIFI',
      STOPMUSIC:'Music played',
      PLAYMELODYPIN:' Pin ',
      MICROBIT_MUSIC:'Music',
      MICROBIT_PIN:'pin',
      ISLIGHT:'Whether to light up?',
      MICROBIT_DISPLAY:'Dot matrix screen',
      TOTEXT:'to text',
      NUMBER:'Number',
      PARSETONUMBER:'Parse to number',
      GET:'Get',
      JUDGE:'Judge',
      STRLENGTH:'Length',
      ENTERVALUE:'Enter value',
      MICROBIT_BASEFUNC:'Board sensor',
      MICROBIT_LOOP:'Micro:bit Loop',
      MICROBIT_MAINSTART:'Micro:bit main start',
      MICROBIT_WHENBUTTON:'When the button',
      MICROBIT_ISBUTTONEVENT:'Pressed',
      MICROBIT_MICROBITEVENTS:'Events',
      DISPLAYSHOW:'Display show string',
      DISPLAYCLEARE: 'Clear display',
      DISPLAYNUMBER:'Display number',
      DISPLAYPICTURE:"Display images",
      SUSPEND:'suspend',
      MILLISECOND:'millisecond(ms)',
      SHOWARROW:'show arrow',
      NORTH:'North',
      NORTHEAST:'Northeast',
      EAST:'East',
      SOUTHEAST:'Southeast',
      SOUTH:'South',
      SOUTHWEST:'Southwest',
      WEST:'West',
      NORTHWEST:"Northwest",
      LOOP:'Loop',
      CLEAR:'Clear screen',
      KEY:'When key',
      ISPRESSED:'Is touched',
      MICROBIT_ULTRASONICPIN:'RGB ultrasonic interface initialization',
      CURRENTMOTHERBOARD:'Current motherBoard status',
      SHOCK:'Shock',
      LOGOUP:'Logo up',
      LOGODOWN:'Logo down',
      SCREENUP:'Screen up',
      SCREENDOWN:'Screen down',
      RIGHTTILT:'Tilt right',
      LEFTTILT:'Tilt left',
      FREEFALL:'Free fall',
      WHENPIN:'When pin',
      ACCELERATEDSPEED:'Accelerated speed(mg)',
      BRIGHTNESSLEVEL:'Brightness level',
      TEMPERATURE:'Temperature(℃)',
      ROTATE:'Rotate(°)',
      ROTATE1:'Rotate',
      ROLL:'Roll',
      MAGNETICFORCE:'Magnetic force（μT）',
      STRENGTH:'Strength',
      CALIBRATECOMPASS:'Calibrate compass',
      ISRELEASED:'Released',
      PLAYTONE:'Play tone',
      LOWC:'Low C',                
      LOWD:'Low D',                
      LOWE:'Low E',                
      LOWF:'Low F',                
      LOWG:'Low G',                
      LOWA:'Low A',                
      LOWB:'Low B',  
      MIDDLEA:'Middle A',             
      MIDDLEB:'Middle B',                 
      MIDDLEC:'Middle C',             
      MIDDLED:'Middle D',             
      MIDDLEE:'Middle E',             
      MIDDLEF:'Middle F',             
      MIDDLEG:'Middle G',                 
      HIGHC:'High C',               
      HIGHD:'High D',               
      HIGHE:'High E',               
      HIGHF:'High F',               
      HIGHG:'High G',               
      HIGHA:'High A',               
      HIGHB:'High B', 
      CONTINUED:'Continued',
      RHYTHM:'Rhythm',
      PLAYRINGTONE:"Play ringtone（Hz）",
      PAUSEPLAYBACK:"Pause playback(ms)",
      REPEAT:"Repeat",
      PLAYONCE:'Play once',
      INFINITECYCLE:'Infinite cycle',
      STOPMELODY:'Stop melody',
      CHANGERHYTHM:"Change rhythm to（bpm）",
      SETRHYTHM:"Set rhythm to（bpm）",
      POINTERFACING:'Pointer facing',
      RUNTIME:'Running time',
      PLAYMELODY:"Play melody",
      XAXIS:"X-axis",
      YAXIS:"Y-axis",
      DRAW:"Draw",
      CANCELDRAW:"Cancel draw",
      SWITCH:'Switch',
      POINT:'Point',
      DRAWBARCHART:'Draw bar chart',
      MAX:'Max',
      DRAW:'Draw',
      BRIGHTNESS:'Brightness(0~9)',
      SETBRIGHTNESS:'Set brightness',
      STOPANIMATION:'Stop animation',
      MICROBIT_VIOCEANALOG:'Read the sound intensity (analog value)',
      MICROBIT_VIOCEDIGITAL:'Has sound been detected? (Digital value)',
      WIRELESSSETTINGSGROUP:'Wireless settings group',
      WIRELESSDIGITAL:'Wireless digital',
      WIRELESSTRANSMISSIONVALUE:'Wireless transmission value',
      WIRELESSSENDSTRING:'Wireless send string',
      DATARECEIVEDWIRELESSLY:'Data received wirelessly',
      RECEIVEDWIRELESSLY:'Run when data is received wirelessly',
      RECEIVEDSTRINGWIRELESSLY:'Run when string data is received wirelessly',
      RECEIVEDKEYVALUEWIRELESSLY:'Run when KEY-VALUE data is received wirelessly',
      PACKETSRECEIVED:'Packets received',
      TIME:'time',
      WIRELESSSETTRANSMITPOWER:'Wireless set transmit power',
      AND:'And',
      REMAINDER:'Remainder',
      IN:'In',
      MIN:'Min',
      MAX1:'Max',
      ABS:'Abs',
      MICROBIT_RAINANALOG:'Read the size of the raindrop (analog value)',
      MICROBIT_RAINDIGITAL:'Has raindrops been detected? (Digital value)',
      RANDOM:'Random',
      RANGE:'Range',
      RANDOMBOOLEAN:'Randomly select Bool',
      ARRAY:'Array',
      LENGTH:'Length',
      GETINDEX:'Get index',
      VALUE:'Value',
      INDEX:'Index',
      VALUESET:'Value set',
      ADDTOEND:'Add to end',
      LASTVALUE:'Last value',
      GETANDREMOVE:'Get and remove',
      FIND:'Find',
      STARTVALUE:'Start value',
      INSERTATBEGIN:'Insert at beginning',
      STAY:'Stay',
      MICROBIT_TEMPERATURE:'temperature',
      MICROBIT_HUMIDITY:'humidity',
      MICROBIT_SOIL:'Soil moisture sensor interface',
      MICROBIT_DHT11:'DHT11 temperature and humidity sensor initialization interface parameters',
      MICROBIT_DHT11GET:'Get',
      MICROBIT_GAS:'MQ4 gas sensor initialization interface parameters',
      INSERTVALUE:'Insert value',
      REMOVE:'Remove',
      COMPARE:'Compare two string',
      STRING:'String',
      STARTPOSITION:'Starting position',
      ISEMPTY:'Is empty',
      FROM:'From',
      EXTRACTCHARACTERPOSITON:'Extract character position',
      EXTRACTCHARACTERCODE:'Extract character code',
      TEXT:'Text',
      CREATEIMAGE:'Create Image',
      DEVIATION:'Deviation',
      SCROLLIMAGE:'Scroll image',
      OFFSETTO:'Offset to',
      INTERVAL:'Interval(ms)',
      ARROWIMAGE:'Arrow image',
      DIGITALREADPIN:'Digital read pin',
      DIRECTIONPIN:'Direction pin',
      DIGITALWRITEPIN:'Digital write pin',
      ANALOGWRITEPIN:'Analog write pin',
      ANALOGREADPIN:'Analog read pin',
      MAPPING:'Mapping',
      FROMLOW:'From low',
      FROMHIGH:'From high',
      TOLOW:'To low',
      TOHIGH:'To high',
      TOSERVOPIN:'To servo pin',
      WRITE:'Write angle',
      PULSESET:'Pulse set to(ms)',
      PULSE:'Pulse',
      HIGH:'High',
      LOW:'Low',
      MICROBIT_GASANALOG:'Read gas concentration (simulated value)',
      MICROBIT_GASDIGITAL:'Has gas been detected? (Digital value)',
      PULSEDURATION:'Pulse duration（μs）',
      PULSEDURATIONPIN:'Pulse duration（μs）pin',
      MICROBIT_THERMOSENSITIVEANALOG:'Read heat simulation value',
      MICROBIT_SOILANALOG:'Read soil moisture simulation value',
      MICROBIT_WATERDEEPANALOG:'Read water depth simulation value',
      MICROBIT_GRAYSCALEANALOG:'Read the color depth analog value',
      SPIWRITE:'Spi write',
      SETPORT:'Set port',
      SPIFREQUENCY:'Spi frequency',
      SETANALOGSCALEPIN:'Analog set scale pin',
      SPIFORMATDIGITS:'SPI format digits',
      MODEL:'Model',
      SPISETPINMOSI:'SPI set pin MoSi',
      SERIALPRINTINGSTRING:'Serial printing string',
      WRITELINETOSERIAL:'Write Line To Serial',
      WRITENUMBERTOSERIAL:'Write number To Serial',
      WRITEVALUETOSERIAL:'Serial port write value',
      WRITESTRINGTOSERIAL:'Serial port write String',
      SERIALREADLINE:'Serial read line',
      SERIALREADLINEUNTIL:'Read row from serial port until',
      READVALUETOSERIAL:'Serial port read value',
      TX:'TX',
      RX:'RX',
      SERIALREDIRECTION:'Serial redirection',
      BAUDRATE:"Baud rate",
      SERIALREDIRECTIONUSB:'Serial redirection to USB',
      RESET:'reset',
      WAIT:'Waiting(us)',
      WHENON:'When on',
      MICROBIT_CONTROL:'Control',
      MICROBIT_OPERATORS:'Operators',
      MICROBIT_VARIABLES:'Variables',
      MICROBIT_TEXT:'Text',
      MICROBIT_SERIAL:'Serial',
      MICROBIT_ARRAYLIST:'Arrays',
      MICROBIT_IR:'Infrared receiver module initialization interface parameters',
      MICROBIT_IRRECEIVERDATA:'Received data',
      MICROBIT_TM1650OPEN:'open',
      MICROBIT_TM1650CLOSE:'close',
      MICROBIT_FIREVALUE:'Read flame',
      MAGICBIT_SERVO:'SERVO',
      MAGICBIT_SPEED:'SPEED',
      MAGICBIT_DEGREE:'DEGREE',
      MICROBIT_RELAYSMODEL:'Relays',
      MICROBIT_SHOW:'Monitor',
      MICROBIT_ACTION:'Actuator',
      MICROBIT_SENSORS:'Sensor',
      MICROBIT_CONTROL:'Control',
      MICROBIT_OPERATORS:'Operators',
      MICROBIT_VARIABLES:'Variables',
      MICROBIT_EDITTEXT:'Text',
      MICROBIT_IMAGES:'Images',
      MICROBIT_SERIAL:'Serial',
      MICROBIT_PIN:'pin',
      MICROBIT_DISPLAY:'Display',
      MICROBIT_ARRAYLISTS:'ArrayList',
      MICROBIT_BUTTONMODEL:'Button model interface init',
      MICROBIT_ISBUTTON:' Whether the key is pressed?',
      MICROBIT_TOUCH:'Touch model interface init',
      MICROBIT_ISTOUCH:'Was a touch detected?',
      MICROBIT_KNOCKSWITCH:'Impact switch model  interface init',
      MICROBIT_READKNOCKSWITCH:'Did you detect a collision?',
      MICROBIT_READRESISTANCE:'Reading(V)',
      MICROBIT_RESISTANCE:'Rotary potentiometer module initialization interface',
      MICROBIT_PIANO:'Piano model interface CLK',
      MICROBIT_DIO:'DIO',
      MICROBIT_PIANOPRESS:'Press the piano key',
      MICROBIT_SLIPRESISTANCE:'Sliding resistor interface',
      MICROBIT_READSLIPRESISTANCE:'Reading(Ω)',
      MICROBIT_ROCK:'Rocker module initialization interface',
      MICROBIT_BUTTON:'Button',
      MICROBIT_READROCKDATA:'Read the value of the rock module',
      MICROBIT_READROCK:'Read rock',
      MICROBIT_ROCKXAXIS:'X axis',
      MICROBIT_ROCKYAXIS:'Y axis',
      MICROBIT_ROCKBUTTON:'Rock button',
      MICROBIT_ROCKVALUE:'Value (keys are digital values, the rest are analog values)',
      MICROBIT_LED:'LED light interface',
      MICROBIT_OPEN:'open',
      MICROBIT_CLOSE:'close',
      MICROBIT_TM1650:' four-digit digital tube TM1650 IIC interface init   light',
      MICROBIT_TM1650DISPLAY:'TM1650 digital tube',
      MICROBIT_TM1650FIRST:'FIRST',
      MICROBIT_TM1650SECOND:'SECOND',
      MICROBIT_TM1650THIRD:'THIRD',
      MICROBIT_TM1650FORTH:'FORTH',
      MICROBIT_TM1650DISPLAYDATA:'display data',
      MICROBIT_TM1650DISPLAYPOINT:'Whether to display the decimal point',
      MICROBIT_TM1650CLEAR:'TM1650 Clear',
      MICROBIT_TM1637:' four-digit digital tube TM1637 interface init CLK',
      MICROBIT_TM1637DISPLAY:'TM1637 digital tube',
      MICROBIT_TM1637FIRST:'FIRST',
      MICROBIT_TM1637SECOND:'SECOND',
      MICROBIT_TM1637THIRD:'THIRD',
      MICROBIT_TM1637FORTH:'FORTH',
      MICROBIT_TM1637DISPLAYDATA:'display data',
      MICROBIT_TM1637DISPLAYPOINT:'Whether to display the decimal point',
      MICROBIT_TM1637CLEAR:'TM1637 Clear',
      MICROBIT_TRAFFICLIGHTSINIT:'trafficlights interface init',
      MICROBIT_TRIFFICLIGHTSRED:'red',
      MICROBIT_TRIFFICLIGHTSGREEN:'green',
      MICROBIT_TRIFFICLIGHTSYELLOW:'yellow',
      MICROBIT_BRIGHT:'open',
      MICROBIT_EXTINCT:'close',
      MICROBIT_SHOWTIME:'show time(ms)',
      MICROBIT_RGBR:'R',
      MICROBIT_RGBG:'G',
      MICROBIT_RGBB:'B',
      MICROBIT_RGBINIT:'RGB model interface init',
      MICROBIT_RGBRED:' red',
      MICROBIT_RGBGREEN:' green',
      MICROBIT_RGBBLUE:' blue',
      MICROBIT_MOTOR:'DC motor interface  INA',
      MICROBIT_MOTORINB:' INB',
      MICROBIT_DIRECTION:'Direction',
      MICROBIT_SPEED:'speed(0~100)',
      MICROBIT_FORWARD:'forward',
      MICROBIT_REVERSE:'reverse',
      MICROBIT_PASSIVEBUZZER:'passive buzzer interface',
      MICROBIT_PLAYMELODY:'play melody',
      MICROBIT_BUZZER:'Active buzzer interface',
      MICROBIT_RELAY:'Relay interface',
      MICROBIT_OPEN:'open',
      MICROBIT_CLOSE:'close',
      MICROBIT_LASER:'Laser sensor interface init',
      MICROBIT_VIOCE:'Sound sensor interface  ',
      MICROBIT_READVIOCE:'read vioce',
      MICROBIT_DIGITAL:'digital',
      MICROBIT_ANALOG:'analog',
      MICROBIT_DIGITALPORT:'digital port',
      MICROBIT_ANALOGPORT:'analog port',
      MICROBIT_LIGHT:'Photo sensor interface',
      MICROBIT_READLIGHT:'Read light simulation value',
      MICROBIT_THERMOSENSITIVE:'Thermal sensor interface',
      MICROBIT_FIRE:'Flame sensor interface',
      MICROBIT_SOIL:'Soil moisture sensor interface',
      MICROBIT_RAIN:'Raindrop sensor interface',
      MICROBIT_WATERDEEP:'Water depth sensor interface',
      MICROBIT_READWATERDEEP:'read data',
      MICROBIT_BODY:'Human pyroelectric sensor interface',
      MICROBIT_READBODY:'Whether human signals are detected?',
      MICROBIT_TRACK:'Tracking sensor interface',
      MICROBIT_READTRACK:'Whether to detect black lines?',
      MICROBIT_REEDSWITCH:'Reed Switch Sensor Interface',
      MICROBIT_ISREED:'Is a magnetic field detected?',
      MICROBIT_GRAYSCALE:'Grayscale sensor interface init',
      MICROBIT_TILT:'Tilt sensor interface init',
      MICROBIT_ISTILT:'Whether to tilt?',
      MICROBIT_SHOCK:'Shock sensor interface init',
      PH_ULTRASONICPIN:'RGB Ultrasound model interface init',
      MICROBIT_IOPORT:'IO port',
      MICROBIT_RGBPORT:'RGB port',
      MICROBIT_RGBSMG:'RGB model',
      MICROBIT_RGBULTRASONICDISTANCE:'RGB Ultrasonic Distance',
      MICROBIT_RGBULTRASONICCOLOR:'RGB Ultrasonic model set ',
      MICROBIT_RGBULTRASONICLEFT:'left light ',
      MICROBIT_RGBULTRASONICRIGHT:'right light ',
      MICROBIT_RGBULTRASONICTWO:'double light ',
      MICROBIT_RGBULTRASONICSPECIAL:'Special',
      MICROBIT_RGBBREATHING:'breathing',
      MICROBIT_RGBROTATE:'rotate',
      MICROBIT_RGBFLICKER:'flicker',
      MICROBIT_BRIGHTNESS:'RGB brightness(0~100)',
      MICROBIT_ULTRASONICPININIT:'Ordinary ultrasonic interface initialization',
      MICROBIT_TRIGPORT:'Trig port',
      MICROBIT_ECHOPORT:'Echo port',
      MICROBIT_ULTRASONICDISTANCE:'Reading distance of ordinary ultrasonic module',
      MICROBIT_RELAYCLOSE:'close',
      MICROBIT_RELAYOPEN:'open',
      MICROBIT_LCDINIT_ADDRESS:'LCD1602 Initialization Address',
      MICROBIT_LCDPRINT:'LCD1602 Clear',
      MICROBIT_LCDSCREEN:'LCD1602 screen',
      MICROBIT_LCDON:'ON',
      MICROBIT_LCDOFF:'OFF',
      MICROBIT_LCDBACKLIGHT:'LCD1602 back light',
      MICROBIT_LCDSHIFT:'LCD1602 cursor',
      MICROBIT_LCDLEFT:'left',
      MICROBIT_LCDRIGHT:'right',
      MICROBIT_COL:'Y',
      MICROBIT_ROW:'X',
      MICROBIT_LCDSHOWROW:'LCD1602 ',
      MICROBIT_LCDSHOW:'show ',
      MICROBIT_TM1650CLOSE:'close',
      MICROBIT_TM1650SHOWNUMBER:'TM1650 show number(max 9999)',
      MICROBIT_TM1650POINTDISPLAY:'TM1650 Segment point ',
      MICROBIT_MATRIX7219:'MATRIX7219 init',
      MICROBIT_DIN:'din',
      MICROBIT_CS:'cs',
      MICROBIT_CLK:'clk',
      MICROBIT_MATRIX7219SETPIXEL:'matrix ',
      MICROBIT_MATRIX7219X:'X(0~7)',
      MICROBIT_MATRIX7219Y:'Y(0~7)',
      MICROBIT_MATRIX7219INTENSITY:'intensity(0~15)',
      MICROBIT_MATRIX7219DRAM:'Custom bitmap image  ',
      MICROBIT_MAXTIXKEYPAD:'maxtix keypad model init CLK',
      MICROBIT_MAXTIXKEYPADPRESS:'Whether the matrix keyboard is pressed',
      MICROBIT_MAXTIXKEYPADGETVALUE:'get maxtix keypad key value',
      MICROBIT_GETPIANOKEY:'Get the value of touch piano touch',
      MICROBIT_ENCODERINIT:'Rotary encoder module initialization parameters Encoder A pin',
      MICROBIT_ENCODERBPORTINIT:'Encoder B pin',
      MICROBIT_ENCODERDPORTINIT:'Encoder D pin',
      MICROBIT_ENCODERBUTTONPRESSED:'Whether the button of the rotary encoder is pressed?',
      MICROBIT_ENCODERPULSE:'Read the encoded value of the rotary encoder',
      UP:'Up',
      DOWN:'Down',
      LEFT:'Left',
      RIGHT:'Right',
      MICROBIT_RGBULTRASONICCOLOR:'RGB ultrasonic module settings ',
      MICROBIT_RGBULTRASONICLeft:'Left light on',
      MICROBIT_RGBULTRASONICRight:'Right light',
      MICROBIT_RGBULTRASONICTwo:'Both lights are on',
      MICROBIT_RGBULTRASONICSPECIAL:'Special effects',
      MICROBIT_RGBBREATHING:'Breathe',
      MICROBIT_RGBROTATE:'Spin',
      MICROBIT_RGBFLICKER:'flicker',
      MICROBIT_BRIGHTNESS:'RGB brightness(0~100)',
      MICROBIT_RGBR:'R value',
    MICROBIT_RGBG:'G value',
    MICROBIT_RGBB:'B value',
    MICROBIT_TM1637SHOWNUMBER:'TM1637 display number(max 9999)',
    MICROBIT_TM1637ALL:'All',
    MICROBIT_IRLOGICVALUE:'The physical value received by the infrared module',
    MICROBIT_SHOCKANALOG:'Read analog value of vibration magnitude',
    MICROBIT_SHOCKDIGITAL:'Vibration detected (digital value)?',
    MICROBIT_DISPLAYCOLOR:'display color',
    TRANSFERINT:'float transfer int',
    MICROBIT_LM35:'Pin reads the temperature obtained by the LM35 temperature sensor',
  }
}

const zh_tw = {
    name: 'zh-tw',
    blocklyMessage: {
		DISPLAYSHOW:'顯示屏顯示字符串',
		DISPLAYCLEARE: '清空顯示屏'
    }
}

module.exports = [
    zh_cn,
    zh_tw,
    en
];
